package com.gudaomai.ekproject.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.gudaomai.ekproject.common.EkBaseMapper;
import com.gudaomai.ekproject.entity.Element;

/**
 * <p>
 * 画面项目 Mapper 接口
 * </p>
 *
 * @author zenghualu
 * @since 2017-06-26
 */
public interface ElementMapper extends EkBaseMapper<Element> {

	@Select("select * from element where page_id = #{pageId}")
	List<Element> getElementsByPageId(@Param("pageId") String pageId);

}